home *** CD-ROM | disk | FTP | other *** search
- From: Mark.Baker@mettav.exnet.com (Mark Baker)
- Date: 12 Jul 94 21:04:50
- Message-Id: <UUCP.774153288@mettav>
- Subject: Digest
- To: gem-list@world.std.com (gem-list@world.std.com)
- Precedence: bulk
-
- Rainer:
- > I wish I could remember (because I have no Atari-keyboard anymore). I
- > think it was {} for example on a German keyboard. To get them you have to
-
- That's a bit awkward for C programming :)
-
- > press 'Cntrl Alt Umlaut-O/A' (?!). Here on my PC-like keyboard I have
- > another ALT- key named 'Alt Gr' to get the third level of multipurpose
-
- I wondered what alt-gr was for :) It does nothing on UK PC keyboards.
-
- Ken:
- > You have to understand how GEM works before you can bring up an argument
- > like this. The fact is that not every application will get a mouse event
- > unless they write their own mouse routine (not everyone is willing to do :-
-
- But surely your proposal is that everyone will have to to implement your
- standard? It's not a problem now but if you make it mandatory you will have all
- programs doing it, which slows it down.
-
- > There is another problem here -- our library allows you to set multiple
- > timer events and 'attach' them to windows. If we set our event_timer to
- > wait for rectangle events, then the timers would become effectively
- > useless. The library does need to do events on a regular basis, but only
- > mouse events will be done if the application is TOPPED.
-
- What does using mouse rectangle events have to do with whether you receive
- timer events anyway?
-
- > Extended object types can *easily* handle behavioural objects. Just look
- > at WinLIB PRO's active sliders. Those are just normal everyday sliders,
- > with the one addition that their extended object type is different.
- >
- > You're saying that with Gem++ you would have to add code to support the
- > active slider, perhaps doing something like "register_active_slider(TREE,
- > object, orientation);" which is insane. Having to write code to support
- > an interface when the interface should do those things ITSELF is a pain.
-
- But you need to attach code to the active slider anyway, or any other type of
- object. For example you might have a check-box object which is handled
- automatically, but you still have to specify the code for it, perhaps in a
- switch statement. In GEM++ you just declare that the existing button should be
- a check-box of a particular application specific class, and it changes the
- behaviour and appearance.
-
- > Besides the fact that if you want to change the functionality of a button,
- > you can't do it visually, you have to do it programatically. This is
- > right along the lines of insanity that MultiTOS did when they forced you to
- > do heirarchical menus by linking them together within your code, rather
- > than the *obvious* way of allowing you to design heirarchical menus using
- > a resource editor.
-
- You can still edit them in a resource editor. From your code you declare an
- object and this attaches code to them and may optionally change the appearance.
- You cannot do it from a resource editor because there are an infinite number of
- different types of code that may be attached.
-
- > To me, this seems like an *ENORMOUS* disadvantage of Gem++, as it is with
- > MultiTOS. A library is supposed to make coding easier, not more
- > difficult.
- > Is it any wonder why nobody has used Gem++ for anything yet? :-)
-
- Have you used GEM++? Were there a decent fast c++ compiler for the Atari I
- would use it all the time.
-
- [wind_update for dialogues]
- > May not be necessary, but it's desired. Remember, you're trying to keep
- > the program as compatible as possible. If you don't use wind_update,
- > then when you move your mouse to the menu-bar, the program will lock up,
- > guaranteed.
-
- Without MultiTOS (or presumably MagiC etc) dialogue boxes do not need
- wind_update, although Atari recommend it it makes very little difference as the
- form_do handler includes a wind_update call anyway.
-
-
-
-